[data-scope='file-upload'][data-part='root'] {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  width: 80%;
}

[data-scope='file-upload'][data-part='dropzone'] {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  gap: 16px;
  padding: 24px;
  border: 2px dashed #d5d5d5;
  position: relative;

  &[data-cover] {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  &[data-dragging] {
    border-color: blue;
    background-color: lightblue;
  }

  &[data-invalid] {
    border-color: red;
    background-color: lightpink;
  }
}

[data-scope='file-upload'][data-part='item-group'] {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

[data-scope='file-upload'][data-part='item'] {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: 0.5rem;
}

[data-scope='file-upload'][data-part='item-preview-image'] {
  aspect-ratio: 1;
  object-fit: cover;
  height: 40px;
}
